const mongoose = require('mongoose')
require('./connect.js');
var Schema = mongoose.Schema;
const chatSchema = new Schema({
    mark: {
        type: String,
        required: true
    },
    msgarr: {
        type: Array,
    }
})

var chatModel = mongoose.model('chat', chatSchema);
module.exports = { chatModel }